﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace Interfaz
{
    /// <summary>
    /// Lógica de interacción para MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        private static Window1 analisis = new Window1();
        private static Comparar comparar = new Comparar();
        public MainWindow()
        {
            InitializeComponent();
            comboSucursales.Items.Insert(0, "Suc 101");
            comboSucursales.Items.Insert(1, "Suc 102");
            comboSucursales.Items.Insert(2, "Suc 103");
            comboSucursales.Items.Insert(3, "Suc 104");
            comboSucursales.Items.Insert(4, "Suc 105");
            comboSucursales.Items.Insert(5, "Suc 106");
            comboSucursales.Items.Insert(6, "Suc 107");
            comboSucursales.Items.Insert(7, "Suc 108");
            comboSucursales.Items.Insert(8, "Suc 109");
            comboSucursales.Items.Insert(9, "Suc 110");
            comboSucursales.Items.Insert(10, "Suc 111");

            butAtras.Visibility = System.Windows.Visibility.Hidden;           
        }

        private void butAnalizar_Click(object sender, RoutedEventArgs e)
        {
            analisis = new Window1();
            analisis.ShowDialog();
           
        }

        private void butComparar_Click(object sender, RoutedEventArgs e)
        {
            comparar = new Comparar();
            comparar.ShowDialog();
        }

        private void comboSucursales_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {

        }

        private void butAtras_Click(object sender, RoutedEventArgs e)
        {

        }
    }
}
